package com.hbzd.protection.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hbzd.protection.entity.GpsCarCurrentPosInfo;
import com.hbzd.protection.mapper.GisCarCurrentPosInfoMapper;

@Service
@Transactional
public class GisCarCurrentPosInfoServiceImpl {

	@Resource
	private GisCarCurrentPosInfoMapper gisCarCurrentPosInfoMapper;
	/**
	 * 查询车辆位置信息
	 * @param simNum
	 * @return
	 */
	public GpsCarCurrentPosInfo getInfo(String simNum) {
		return gisCarCurrentPosInfoMapper.getInfo(simNum);
	}
}
